package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.entity.Result;
import com.itheima.pojo.Medical;
import org.apache.ibatis.annotations.Param;

public interface MedicalMapper {
    Page<Medical> findByCondition(@Param("queryString")String queryString);

    void save(Medical medical);

    Medical findById(@Param("medicalId")Integer medicalId);

    void update(Medical medical);

    void delete(@Param("medicalId")Integer medicalId);
}
